  
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <meta name="layout" content="main" />
    <title>Show Member</title>
  </head>
  <body>
    <div class="body">
      <h1>Show Member</h1>
      <g:if test="${flash.message}">
        <div class="message">${flash.message}</div>
      </g:if>
      <div class="dialog">
        <table>
          <tbody>
                   

            <tr class="prop">
              <td valign="top" class="name">Login Name:</td>
              <td valign="top" class="value">
              	${person.username?.encodeAsHTML()}
              </td>
            </tr>
                   
            <tr class="prop">
              <td valign="top" class="name">Full Name:</td>
              <td valign="top" class="value">
                ${person.userRealName?.encodeAsHTML()}
              </td>
            </tr>
                   
            <tr class="prop">
              <td valign="top" class="name">Description:</td>
              <td valign="top" class="value">
                ${person.description?.encodeAsHTML()}
              </td>
            </tr>
                   
            <tr class="prop">
              <td valign="top" class="name">Email:</td>
              <td valign="top" class="value">
                ${person.email?.encodeAsHTML()}
              </td>
            </tr>
                   
              <tr class="prop">
                  <td valign="top" class="name">Title:</td>
                  <td valign="top" class="value">${person?.profile?.title}</td>
              </tr>

              <tr class="prop">
                  <td valign="top" class="name">Resume:</td>
                  <td valign="top" class="value" bgcolor="#3BB9FF">${person?.profile?.resume}</td>
              </tr>


              <tr class="prop">
                  <td valign="top" class="name">Blogs:</td>
                  <td  valign="top" style="text-align:left;" class="value">
                      <ul>
                      <g:each var="b" in="${person?.profile?.blogs}">
                          <li><g:link controller="content" action="show" id="${b.id}">${b?.title}</g:link></li>
                      </g:each>
                      </ul>
                  </td>
              </tr>
              <tr class="prop">
                  <td valign="top" class="name">Expertise:</td>
                  <td  valign="top" style="text-align:left;" class="value">
                      <ul>
                      <g:each var="e" in="${person?.profile?.expertise}">
                          <li><g:link controller="user" action="listByExpertise" id="${e.id}">${e?.title}</g:link></li>
                      </g:each>
                      </ul>
                  </td>
              </tr>

              <tr class="prop">
                  <td valign="top" class="name">Categories:</td>

                  <td  valign="top" style="text-align:left;" class="value">
                      <ul>
                      <g:each var="c" in="${person?.profile?.categories}">
                          <li><g:link controller="category" action="show" id="${c.id}">${c.title}</g:link></li>
                      </g:each>
                      </ul>
                  </td>

              </tr>

              %{--<tr class="prop">--}%
                  %{--<td valign="top" class="name">Date Created:</td>--}%

                  %{--<td valign="top" class="value">${person?.profile?.dateCreated}</td>--}%

              %{--</tr>--}%

              %{--<tr class="prop">--}%
                  %{--<td valign="top" class="name">Last Updated:</td>--}%

                  %{--<td valign="top" class="value">${person?.profile?.lastUpdated}</td>--}%

              %{--</tr>--}%

              
                   
          </tbody>
        </table>
          <!--<span class="button"><g:link controller="user" action="createBlog">Create blog</g:link></span>-->
      </div>
      
      <div class="buttons">
        <g:form controller="user">
          <input type="hidden" name="id" value="${person?.id}" />
          <span class="button"><g:actionSubmit value="Edit" /></span>
          
          <!--<span class="button"><g:actionSubmit value="Delete" /></span>-->
        </g:form>
      </div>
      
    </div>
  </body>
</html>
